how to write in a file in linux